Papers with pairwise inference
DeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context Learning (2025.coling-main)
Copied to clipboard
Raymond Li, Yuxi Feng, Zhenan Fan, Giuseppe Carenini, Weiwei Zhang, Mohammadreza Pourreza, Yong Zhang
| Challenge: | In-context Learning (ICL) has proven to be effective in a variety of complex tasks, but the selection of the most beneficial demonstration examples remains an open research problem. |
| Approach: | They propose a demonstration retrieval framework that learns a weighted combination of LLM hidden states where rich semantic information is encoded. |
| Outcome: | Experiments on two popular NL2SQL benchmarks show that the proposed method outperforms state-of-the-art models. |